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

Query time 0.00037

JSON explain

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