SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8ab6f8d4e0de9f0b0f9919ffa23b34f807c6bdf38afd2d20c1bb9d5d0fbc0bb' 
  AND token = 'eLk032ZzU3RpxskByYyilbqHOtqm6OCvCENf5hYfJaA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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