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

Query time 0.00024

JSON explain

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