SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf7742531880f51867a00cde83f91f76b317d24a87fbe349bc5ae833760c3638' 
  AND token = 'yK6NGN7arlBILUrIbIGerGiJeFlnxP2cvXfG/+doqZg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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