SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '06cf402239d97647a756f51f9c324e48f466118446f0354c442c01f0464bb16b' 
  AND token = 'uGdmJp4DmX2s0A7YrM7ffphvMssy13oEE7pCiUARMjQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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