SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '341a5bf285c164aa3bad3f875ad9f4a1cc0f38e274c2735e1a0fcd3d85747e56' 
  AND token = 'M1DSpVDEYfVhgnZbu8LftTwwJNXMONrKdb2Qocg0Scc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}