SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0707bbbe52f839ca4b05d76e0af8e420e0378d8c8a6d3dd392d38bd5dcb4665b' 
  AND token = 'i/0hUb+/eX4VlWbJ3bXRo9N/dMRn6F678hesfBFO/PQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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