SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b9ed7b7322b272d21a7c56bd19f712ae1366d59f095a6b41b361616b31a181f1' 
  AND token = 'J0c4VRjmYEItdv5RAgb6K3jKOELDqOxzj5+wBeUkOx4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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