SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f4ba508585f7d701b5b2fa785381fd068c516879f2117af870547222219ab27' 
  AND token = 'EXwQ3sefveBMa8SCerIhelhnz6iI1FJOLZ3yKHWgY4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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