SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c1872f353909dcf95ba7347540c652588cbca3b1bb4de9ac24a07cb52c1f74f' 
  AND token = 'cwuZym1+pOVaB74zQVhKBLFB7eQLAPTOjD7UgB9VWnI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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