SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '337110c5cc8565721d47d1c5ad10b93b2d02d32161754b766b4009f8aa07e862' 
  AND token = 'l7L59OnETILS/T/ZTOomnWr37QfhVMXn7L+ttirMyjE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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