SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9e936cab3336b08c403d227814875326c072760c06a3de757a9b403d4db2c9f' 
  AND token = 'ZU8rwimiWN+Kv85XTcsp6sin2UgQYZ6Dp+KWY5xXbhg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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