SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '19e1065a25b5ba24abcfe6183bb812a2db6eab5b5ef7996834b6da9d38443731' 
  AND token = '3rxohYC6lyPLJSXJaZE9GI50MbF0l1uGBirjeunVlKs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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