SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ac19615b302bb551b976d25c2505ef374abe92b194c279495fa28a96b6a9ad1' 
  AND token = 'zdTDyBmBAys9V0aMjvOfO6IrPMnXqun5j0rd8pS8a60=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}