SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b2d245fbc98f1d1c9317b33c708623c100120ba563bab3adc349af2453ee93d0' 
  AND token = 'j4eutbQfct761efNEgxEdFBxVTradsf9s1sz1W1GFJ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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