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

Query time 0.00022

JSON explain

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