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

Query time 0.00021

JSON explain

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