SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac7c56049cfe71aa7c50d6805b8ba673a4f36d7d3ed71f057bf7f9f8ab066f65' 
  AND token = 'cEnOf7hc1a/gOxBY6oXgYQq2DTuxZPP6AvfuRVeP6/Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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