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

Query time 0.00048

JSON explain

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