SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aac8c8ba9ed76c7f0d8494e53240d949177aee2f520a55ef41605a333e00b6e1' 
  AND token = 'sgLCo+Kcz7+pfc3eKF0Sh1fYu4zQtX2ncTz1YnKSVLY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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