SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0aaa66ec06b7c1a1ba8b4a1dbb6d35986d18768a36bcb5e2fd894a45bfc660ab' 
  AND token = '2JQJJWgaUoi6hV4lHQsFqcDjO9/zrtyaunNNQvldnqw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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