SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0af6c9db89fb0633cea47cbe87b0ba46db36aaaaf0bd679326cb5d763e8cd809' 
  AND token = 'v0kEFS8cnqDZAx9INbn6Yr7qDxJOfN0N3Kidg5Tk+pY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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