SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42cae4c9a412abdc6b7cfcd72d8399b479fb6ae6570afd366db0ad3df6faa144' 
  AND token = 'Lmga4G2Dg1ydDYPgybKu+9awXGi/TIbGx93r9flF1oQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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