SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1de816f021117314fc5597b5dafda6efff360f665d10b1a9c79dd2bcf285f338' 
  AND token = 'zXQQrUAApgMEgsaJAXMG+yUnAK/sD27rq3V8sHuzRyg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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