SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1f7e3aacde7dae7f84716902c533b682c816e6d68cffa8df8a832ae39e5e774f' 
  AND token = 'l/BKdCLyhRh6Ee7pVJOUIQWZuJY3uWwRA/NBQELg8sk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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