SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '59b12882ff441aeccf58ff1d944e3127dcd8089b7d28139e80d8ab7f6b39bbfe' 
  AND token = 'dm8dQ6OcwEKRFz87l/S1pF+Oui7dO7fgQ1Q7NtFnQQg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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