SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42aaa9da0cf60241841368c8e3e9a1bf029bfc36423588a255a76c97673ba843' 
  AND token = 'ZOpyjfFiOEWWxwAwR9WS+4qbQRsa0eo2hW9wGh/YAns=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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