SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '88f2cca4e9738db0f8adf6f7b93eb91bb738f329f6d3438b9d5193671474f1e7' 
  AND token = 'rG8wdqYwnPmB9k07zszDquTIorFv6JMr8Qipk7jrROg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00083

JSON explain

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