SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9d02bc069031f5228d82d65be2ce29ab58767ae4eef548b49ed45a849dd12fe' 
  AND token = 'cCe+txrTBw2z6KmSWWIqPrgECy3Pb+GzXP/LEmcWG+0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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