SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '349617645b868a98e52213332933622f6079d8f09ea8f2bfc64fb27400e65d1b' 
  AND token = 'dylTnTE8vlWgx8JmN3mqFuWPFTHPuCSbhUDBRF3Vy40=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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