SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ce43319852672607760379d37744a947ad66f09e581dfd8652877ec620505b0' 
  AND token = 'rosBih1cWA5rAPA3Ajl55zXIzSPNAE25LRdzFTQS8qQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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